/*-----------------------------------------------------------------------------
 * 
 *  CLApplicationFrame: 
 *  
 *  
 *  
 *   created: June 23, 2008
 *  modified: June 25, 2008
 *
 *-----------------------------------------------------------------------------
 */

package circuitlab.ui;

import ui.components.core.CFrame;
import ui.components.vs.VMenuBar;
import ui.components.vs.VStatusBar;
import ui.components.vs.VToolBar;
import ui.dock.Dock;
import circuitlab.CircuitLab;

public class CLApplicationWindow extends CFrame {
    public CLApplicationWindow(CircuitLab app) {
        super(app);
    }

    void showStartPage() {
        // hide the main dockable windows. disble certain toolbar/menubar
        // buttons. etc. etc.

        // do a walk of the app's recent projects list and show them on the
        // start page.
    }

    void hideStartPage() {

    }

    /*
     * Here should be all the structures inside the main application frame such
     * as the toolbar, menubar, main panes, etc. etc.
     */
    VMenuBar menu;
    VToolBar toolbar;
    Dock dock;
    VStatusBar statusbar;

    /*
     * The Start Page is a CircuitLab application specific window that is not
     * borrowed from the UI library. It stays dormant inside the main app frame
     * unless invoked.
     */
    CLStartPage startpage;

}
